//
//  CaculatorMaker.m
//  test
//
//  Created by kepuG on 16/10/11.
//  Copyright © 2016年 text. All rights reserved.
//

#import "CaculatorMaker.h"

@implementation CaculatorMaker

-(CaculatorMaker *(^)(int))add{

    return ^CaculatorMaker *(int value){
        
        _result += value;
        return self;
    };
}

-(CaculatorMaker *(^)(int))muilt{

    return ^CaculatorMaker *(int value){
        _result *= value;
        return self;
    };
}


@end
